package cn.beyond.vehicleManagement.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 采购记录表
 */
public class VehicleProcurement implements Serializable {
    private Integer id;//采购Id
    private Integer vehicle_id;//车辆Id
    private String Procurement_address;//采购地址
    private Date Procurement_date;//采购时间
    private String Procurementby;//经办人
    private Double price;//单价

    public VehicleProcurement() {
    }

    public VehicleProcurement(Integer id, Integer vehicle_id, String procurement_address,
                              Date procurement_date, String procurementby, Double price) {
        this.id = id;
        this.vehicle_id = vehicle_id;
        Procurement_address = procurement_address;
        Procurement_date = procurement_date;
        Procurementby = procurementby;
        this.price = price;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVehicle_id() {
        return vehicle_id;
    }

    public void setVehicle_id(Integer vehicle_id) {
        this.vehicle_id = vehicle_id;
    }

    public String getProcurement_address() {
        return Procurement_address;
    }

    public void setProcurement_address(String procurement_address) {
        Procurement_address = procurement_address;
    }

    public Date getProcurement_date() {
        return Procurement_date;
    }

    public void setProcurement_date(Date procurement_date) {
        Procurement_date = procurement_date;
    }

    public String getProcurementby() {
        return Procurementby;
    }

    public void setProcurementby(String procurementby) {
        Procurementby = procurementby;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "VehicleProcurement{" +
                "id=" + id +
                ", vehicle_id=" + vehicle_id +
                ", Procurement_address='" + Procurement_address + '\'' +
                ", Procurement_date=" + Procurement_date +
                ", Procurementby='" + Procurementby + '\'' +
                ", price=" + price +
                '}';
    }
}
